import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useSettingStore = defineStore('settingStore', () => {
  const flag = ref(false)

  const setFlag = (val) => {
    flag.value = val
  }

  return {
    flag,
    setFlag
  }
})
